<template>
  <div class="recommend">
    <div v-for="(item,index) in recommends" :key="index" class="recommend-item">
        <a :href="item.link">
            <img :src="item.image" alt="">
            <div>{{item.title}}</div>
        </a>
    </div>
  </div>
</template>

<script>

export default {
  props:{
      recommends:{
          type:Array,
          defalut(){
              return []
          }
      }
  },
  components: {
    
  },
  data() {
      return {
          
      }
  },
}
</script>

<style>
    .recommend{
        display: flex;
        text-align: center;
        width: 100%;
        font-size: 12px;
        padding: 15px 0 20px;
        border-bottom: 10px solid #eee;
    }

    .recommend-item{
        flex: 1;
    }

    .recommend-item img{
        height: 65px;
        height: 65px;
        margin-bottom: 10px;
    }
</style>